{"version":3,"file":"script_attached.map.js","names":["BXRL","BXMobileApp","addCustomEvent","data","command","RatingLike","LiveUpdate","params","likeId","entityTypeId","entityId","available","this","enabled","box","BX","keySigned","getAttribute","button","count","findChild","tagName","className","countText","buttonCountText","likeTimeout","lastVote","hasClass","Set","Init","unbindAll","bind","e","app","exec","clearTimeout","newValue","action","parseInt","innerHTML","removeClass","setTimeout","Vote","addClass","likeNode","clone","adjust","parentNode","style","position","visibility","prepend","easing","duration","start","top","scale","finish","transition","transitions","quad","step","state","transform","complete","removeChild","animate","ratingFooter","id","arMatch","match","youNode","youAndOthersNode","othersNode","oMSL","recalcRatingFooter","obYouNode","obYouAndOthersNode","obOthersNode","bSelf","voteAction","val","PreventDefault","BMAjaxWrapper","MobileAjaxWrapper","Wrap","type","method","url","message","RATING_VOTE","RATING_VOTE_TYPE_ID","RATING_VOTE_KEY_SIGNED","RATING_VOTE_ENTITY_ID","RATING_VOTE_ACTION","sessid","bitrix_sessid","callback","items_all","counterNode","oldValue","setAttribute","logId","onCustomEvent","rating_id","callback_failure","List","openTable","markmode","showtitle","modal","cache","outsection","cancelname","USER_ID","i","ENTITY_TYPE_ID","ENTITY_ID","onLogEntryRatingLike","ratingId","TYPE","userId"],"sources":["script_attached.js"],"mappings":"AAAA,IAAKA,KACL,CACC,IAAIA,KAAO,CAAC,EAEZC,YAAYC,eAAe,eAAe,SAASC,GAClD,GAAIA,EAAKC,SAAW,cACpB,CACCC,WAAWC,WAAWH,EAAKI,OAC5B,CACD,GACD,CAEAF,WAAa,SAASG,EAAQC,EAAcC,EAAUC,GAErDC,KAAKC,QAAU,KACfD,KAAKH,aAAeA,EACpBG,KAAKF,SAAWA,EAChBE,KAAKD,UAAaA,GAAa,IAE/BC,KAAKE,IAAMC,GAAG,gBAAkBP,GAChC,GAAII,KAAKE,MAAQ,KACjB,CACCF,KAAKC,QAAU,MACf,OAAO,KACR,CAEA,MAAMG,EAAYJ,KAAKE,IAAIG,aAAa,wBACxCL,KAAKI,UAA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